package model;

import java.util.UUID;

public class Process 
{
	private UUID ID;
	private String name;
	private String description;
	private double executionOrder;
	
	public Process()
	{
		ID = UUID.randomUUID();
	}
	
	/**
	 * Returns the process's name
	 * @return Process's name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Sets the process's name
	 * @param name Process's name
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * Returns the process's description 
	 * @return Process's description
	 */
	public String getDescription() {
		return description;
	}
	
	/**
	 * Sets the process's description
	 * @param description Process's description
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	
	/**
	 * Returns the process order, which represents when the process is executed in the Business case 
	 * @return Process's execution order
	 */
	public double getExecutionOrder() {
		return executionOrder;
	}
	
	/**
	 * Sets the process's execution order
	 * @param executionOrder Process's execution order
	 */
	public void setExecutionOrder(double executionOrder) {
		this.executionOrder = executionOrder;
	}
	
	/**
	 * Returns the ID for the current Process
	 * @return Process's ID
	 */
	public UUID getID() {
		return ID;
	}
}
